package com.ymatou.iapi.trading.sellerquery.parameter.entities;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.List;

import com.ymttest.utils.DataUtil;

public class OrderTradeflow {
	// Summary:
	// 取消时间
	private String CancelTime;
	//
	// Summary:
	// 调整金额 (+-)
	private BigDecimal Discount;
	//
	// Summary:
	// 第三方优惠金额
	private BigDecimal DiscountOfThirdParty = BigDecimal.ZERO;
	//
	// Summary:
	// 运费(+)
	private BigDecimal Freight;
	//
	// Summary:
	// 订单号
	private long OrderId;
	//
	// Summary:
	// 退款信息
	private List<OrderTradeflowRefund> OrderTradeflowRefundList;
	//
	// Summary:
	// 付款金额
	private BigDecimal PaidAmountOfCash = BigDecimal.ZERO;
	//
	// Summary:
	// 付款金额(红包)
	private BigDecimal PaidAmountOfGift = BigDecimal.ZERO;
	//
	// Summary:
	// 付款时间
	private String PaidTime;
	//
	// Summary:
	// 支付渠道
	private String PayChannel;
	//
	// Summary:
	// 补款调整金额 (+-)
	private BigDecimal PostDiscount;
	//
	// Summary:
	// 补款金额
	private BigDecimal PostPaidAmountOfCash = BigDecimal.ZERO;
	//
	// Summary:
	// 补款金额(红包)
	private BigDecimal PostPaidAmountOfGift = BigDecimal.ZERO;
	//
	// Summary:
	// 补款付款时间
	private String PostPaidTime;
	//
	// Summary:
	// 商家优惠券金额(+)
	private BigDecimal SellerCouponAmount;
	//
	// Summary:
	// 商家优惠券Code
	private String SellerCouponCode;
	//
	// Summary:
	// 订单成交价
	private BigDecimal TotalPrice = BigDecimal.ZERO;
	//
	// Summary:
	// 订单状态
	private int TradingStatus;
	//
	// Summary:
	// 码头平台优惠券金额(+)
	private BigDecimal YmtCouponAmount;
	//
	// Summary:
	// 码头平台优惠券Code
	private String YmtCouponCode;

	public String getCancelTime() {
		return CancelTime;
	}

	public void setCancelTime(String cancelTime) {
		CancelTime = cancelTime;
	}

	public BigDecimal getDiscount() {
		return Discount;
	}

	public void setDiscount(BigDecimal discount) {
		Discount = discount;
	}

	public BigDecimal getDiscountOfThirdParty() {
		return DiscountOfThirdParty;
	}

	public void setDiscountOfThirdParty(BigDecimal discountOfThirdParty) {
		DiscountOfThirdParty = discountOfThirdParty;
	}

	public BigDecimal getFreight() {
		return Freight;
	}

	public void setFreight(BigDecimal freight) {
		Freight = freight;
	}

	public long getOrderId() {
		return OrderId;
	}

	public void setOrderId(long orderId) {
		OrderId = orderId;
	}

	public List<OrderTradeflowRefund> getOrderTradeflowRefundList() {
		return OrderTradeflowRefundList;
	}

	public void setOrderTradeflowRefundList(
			List<OrderTradeflowRefund> orderTradeflowRefundList) {
		OrderTradeflowRefundList = orderTradeflowRefundList;
	}

	public BigDecimal getPaidAmountOfCash() {
		return PaidAmountOfCash;
	}

	public void setPaidAmountOfCash(BigDecimal paidAmountOfCash) {
		PaidAmountOfCash = paidAmountOfCash;
	}

	public BigDecimal getPaidAmountOfGift() {
		return PaidAmountOfGift;
	}

	public void setPaidAmountOfGift(BigDecimal paidAmountOfGift) {
		PaidAmountOfGift = paidAmountOfGift;
	}

	public String getPaidTime() {
		return PaidTime;
	}

	public void setPaidTime(String paidTime) {
		PaidTime = paidTime;
	}

	public String getPayChannel() {
		return PayChannel;
	}

	public void setPayChannel(String payChannel) {
		PayChannel = payChannel;
	}

	public BigDecimal getPostDiscount() {
		return PostDiscount;
	}

	public void setPostDiscount(BigDecimal postDiscount) {
		PostDiscount = postDiscount;
	}

	public BigDecimal getPostPaidAmountOfCash() {
		return PostPaidAmountOfCash;
	}

	public void setPostPaidAmountOfCash(BigDecimal postPaidAmountOfCash) {
		PostPaidAmountOfCash = postPaidAmountOfCash;
	}

	public BigDecimal getPostPaidAmountOfGift() {
		return PostPaidAmountOfGift;
	}

	public void setPostPaidAmountOfGift(BigDecimal postPaidAmountOfGift) {
		PostPaidAmountOfGift = postPaidAmountOfGift;
	}

	public String getPostPaidTime() {
		return PostPaidTime;
	}

	public void setPostPaidTime(String postPaidTime) {
		PostPaidTime = postPaidTime;
	}

	public BigDecimal getSellerCouponAmount() {
		return SellerCouponAmount;
	}

	public void setSellerCouponAmount(BigDecimal sellerCouponAmount) {
		SellerCouponAmount = sellerCouponAmount;
	}

	public String getSellerCouponCode() {
		return SellerCouponCode;
	}

	public void setSellerCouponCode(String sellerCouponCode) {
		SellerCouponCode = sellerCouponCode;
	}

	public BigDecimal getTotalPrice() {
		return TotalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		TotalPrice = totalPrice;
	}

	public int getTradingStatus() {
		return TradingStatus;
	}

	public void setTradingStatus(int tradingStatus) {
		TradingStatus = tradingStatus;
	}

	public BigDecimal getYmtCouponAmount() {
		return YmtCouponAmount;
	}

	public void setYmtCouponAmount(BigDecimal ymtCouponAmount) {
		YmtCouponAmount = ymtCouponAmount;
	}

	public String getYmtCouponCode() {
		return YmtCouponCode;
	}

	public void setYmtCouponCode(String ymtCouponCode) {
		YmtCouponCode = ymtCouponCode;
	}
	
	public static void main(String[] args) {
		Class c = OrderTradeflow.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expect.get"
					+ DataUtil.toUpperCaseFirstOne(s) + "(), actual.get"+DataUtil.toUpperCaseFirstOne(s)
					+ "(),\"验证" + s
					+ "\");");
		}
	}
}
